package com.yic.module.device.controller.admin.refund.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 退还申请 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class RefundExcelVO {

    @ExcelProperty("序号")
    private Long id;

    @ExcelProperty("退还单号")
    private String code;

    @ExcelProperty("退还说明")
    private String reason;

    @ExcelProperty("退还人")
    private Long userId;

    @ExcelProperty(value = "审批状态", converter = DictConvert.class)
    @DictFormat("system_approve") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer approve;

    @ExcelProperty("审批时间")
    private LocalDateTime approveTime;

    @ExcelProperty("设备")
    private Long deviceId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
